package com.hjb.service.domain.recharge;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SiteUserRechargeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SiteUserRechargeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderIsNull() {
            addCriterion("instalment_order is null");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderIsNotNull() {
            addCriterion("instalment_order is not null");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderEqualTo(String value) {
            addCriterion("instalment_order =", value, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderNotEqualTo(String value) {
            addCriterion("instalment_order <>", value, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderGreaterThan(String value) {
            addCriterion("instalment_order >", value, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderGreaterThanOrEqualTo(String value) {
            addCriterion("instalment_order >=", value, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderLessThan(String value) {
            addCriterion("instalment_order <", value, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderLessThanOrEqualTo(String value) {
            addCriterion("instalment_order <=", value, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderLike(String value) {
            addCriterion("instalment_order like", value, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderNotLike(String value) {
            addCriterion("instalment_order not like", value, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderIn(List<String> values) {
            addCriterion("instalment_order in", values, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderNotIn(List<String> values) {
            addCriterion("instalment_order not in", values, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderBetween(String value1, String value2) {
            addCriterion("instalment_order between", value1, value2, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andInstalmentOrderNotBetween(String value1, String value2) {
            addCriterion("instalment_order not between", value1, value2, "instalmentOrder");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(String value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(String value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(String value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(String value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(String value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLike(String value) {
            addCriterion("order_id like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotLike(String value) {
            addCriterion("order_id not like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<String> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<String> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(String value1, String value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(String value1, String value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andTradeNoIsNull() {
            addCriterion("trade_no is null");
            return (Criteria) this;
        }

        public Criteria andTradeNoIsNotNull() {
            addCriterion("trade_no is not null");
            return (Criteria) this;
        }

        public Criteria andTradeNoEqualTo(String value) {
            addCriterion("trade_no =", value, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andTradeNoNotEqualTo(String value) {
            addCriterion("trade_no <>", value, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andTradeNoGreaterThan(String value) {
            addCriterion("trade_no >", value, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andTradeNoGreaterThanOrEqualTo(String value) {
            addCriterion("trade_no >=", value, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andTradeNoLessThan(String value) {
            addCriterion("trade_no <", value, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andTradeNoLessThanOrEqualTo(String value) {
            addCriterion("trade_no <=", value, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andTradeNoLike(String value) {
            addCriterion("trade_no like", value, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andTradeNoNotLike(String value) {
            addCriterion("trade_no not like", value, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andTradeNoIn(List<String> values) {
            addCriterion("trade_no in", values, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andTradeNoNotIn(List<String> values) {
            addCriterion("trade_no not in", values, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andTradeNoBetween(String value1, String value2) {
            addCriterion("trade_no between", value1, value2, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andTradeNoNotBetween(String value1, String value2) {
            addCriterion("trade_no not between", value1, value2, "tradeNo");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfIsNull() {
            addCriterion("order_id_conf is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfIsNotNull() {
            addCriterion("order_id_conf is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfEqualTo(String value) {
            addCriterion("order_id_conf =", value, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfNotEqualTo(String value) {
            addCriterion("order_id_conf <>", value, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfGreaterThan(String value) {
            addCriterion("order_id_conf >", value, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfGreaterThanOrEqualTo(String value) {
            addCriterion("order_id_conf >=", value, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfLessThan(String value) {
            addCriterion("order_id_conf <", value, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfLessThanOrEqualTo(String value) {
            addCriterion("order_id_conf <=", value, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfLike(String value) {
            addCriterion("order_id_conf like", value, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfNotLike(String value) {
            addCriterion("order_id_conf not like", value, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfIn(List<String> values) {
            addCriterion("order_id_conf in", values, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfNotIn(List<String> values) {
            addCriterion("order_id_conf not in", values, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfBetween(String value1, String value2) {
            addCriterion("order_id_conf between", value1, value2, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andOrderIdConfNotBetween(String value1, String value2) {
            addCriterion("order_id_conf not between", value1, value2, "orderIdConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfIsNull() {
            addCriterion("trade_no_conf is null");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfIsNotNull() {
            addCriterion("trade_no_conf is not null");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfEqualTo(String value) {
            addCriterion("trade_no_conf =", value, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfNotEqualTo(String value) {
            addCriterion("trade_no_conf <>", value, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfGreaterThan(String value) {
            addCriterion("trade_no_conf >", value, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfGreaterThanOrEqualTo(String value) {
            addCriterion("trade_no_conf >=", value, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfLessThan(String value) {
            addCriterion("trade_no_conf <", value, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfLessThanOrEqualTo(String value) {
            addCriterion("trade_no_conf <=", value, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfLike(String value) {
            addCriterion("trade_no_conf like", value, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfNotLike(String value) {
            addCriterion("trade_no_conf not like", value, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfIn(List<String> values) {
            addCriterion("trade_no_conf in", values, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfNotIn(List<String> values) {
            addCriterion("trade_no_conf not in", values, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfBetween(String value1, String value2) {
            addCriterion("trade_no_conf between", value1, value2, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andTradeNoConfNotBetween(String value1, String value2) {
            addCriterion("trade_no_conf not between", value1, value2, "tradeNoConf");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(Long value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(Long value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(Long value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(Long value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(Long value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<Long> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<Long> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(Long value1, Long value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(Long value1, Long value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andReplyTimeIsNull() {
            addCriterion("reply_time is null");
            return (Criteria) this;
        }

        public Criteria andReplyTimeIsNotNull() {
            addCriterion("reply_time is not null");
            return (Criteria) this;
        }

        public Criteria andReplyTimeEqualTo(Date value) {
            addCriterion("reply_time =", value, "replyTime");
            return (Criteria) this;
        }

        public Criteria andReplyTimeNotEqualTo(Date value) {
            addCriterion("reply_time <>", value, "replyTime");
            return (Criteria) this;
        }

        public Criteria andReplyTimeGreaterThan(Date value) {
            addCriterion("reply_time >", value, "replyTime");
            return (Criteria) this;
        }

        public Criteria andReplyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("reply_time >=", value, "replyTime");
            return (Criteria) this;
        }

        public Criteria andReplyTimeLessThan(Date value) {
            addCriterion("reply_time <", value, "replyTime");
            return (Criteria) this;
        }

        public Criteria andReplyTimeLessThanOrEqualTo(Date value) {
            addCriterion("reply_time <=", value, "replyTime");
            return (Criteria) this;
        }

        public Criteria andReplyTimeIn(List<Date> values) {
            addCriterion("reply_time in", values, "replyTime");
            return (Criteria) this;
        }

        public Criteria andReplyTimeNotIn(List<Date> values) {
            addCriterion("reply_time not in", values, "replyTime");
            return (Criteria) this;
        }

        public Criteria andReplyTimeBetween(Date value1, Date value2) {
            addCriterion("reply_time between", value1, value2, "replyTime");
            return (Criteria) this;
        }

        public Criteria andReplyTimeNotBetween(Date value1, Date value2) {
            addCriterion("reply_time not between", value1, value2, "replyTime");
            return (Criteria) this;
        }

        public Criteria andRetCodeIsNull() {
            addCriterion("ret_code is null");
            return (Criteria) this;
        }

        public Criteria andRetCodeIsNotNull() {
            addCriterion("ret_code is not null");
            return (Criteria) this;
        }

        public Criteria andRetCodeEqualTo(String value) {
            addCriterion("ret_code =", value, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetCodeNotEqualTo(String value) {
            addCriterion("ret_code <>", value, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetCodeGreaterThan(String value) {
            addCriterion("ret_code >", value, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ret_code >=", value, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetCodeLessThan(String value) {
            addCriterion("ret_code <", value, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetCodeLessThanOrEqualTo(String value) {
            addCriterion("ret_code <=", value, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetCodeLike(String value) {
            addCriterion("ret_code like", value, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetCodeNotLike(String value) {
            addCriterion("ret_code not like", value, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetCodeIn(List<String> values) {
            addCriterion("ret_code in", values, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetCodeNotIn(List<String> values) {
            addCriterion("ret_code not in", values, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetCodeBetween(String value1, String value2) {
            addCriterion("ret_code between", value1, value2, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetCodeNotBetween(String value1, String value2) {
            addCriterion("ret_code not between", value1, value2, "retCode");
            return (Criteria) this;
        }

        public Criteria andRetMsgIsNull() {
            addCriterion("ret_msg is null");
            return (Criteria) this;
        }

        public Criteria andRetMsgIsNotNull() {
            addCriterion("ret_msg is not null");
            return (Criteria) this;
        }

        public Criteria andRetMsgEqualTo(String value) {
            addCriterion("ret_msg =", value, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetMsgNotEqualTo(String value) {
            addCriterion("ret_msg <>", value, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetMsgGreaterThan(String value) {
            addCriterion("ret_msg >", value, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetMsgGreaterThanOrEqualTo(String value) {
            addCriterion("ret_msg >=", value, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetMsgLessThan(String value) {
            addCriterion("ret_msg <", value, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetMsgLessThanOrEqualTo(String value) {
            addCriterion("ret_msg <=", value, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetMsgLike(String value) {
            addCriterion("ret_msg like", value, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetMsgNotLike(String value) {
            addCriterion("ret_msg not like", value, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetMsgIn(List<String> values) {
            addCriterion("ret_msg in", values, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetMsgNotIn(List<String> values) {
            addCriterion("ret_msg not in", values, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetMsgBetween(String value1, String value2) {
            addCriterion("ret_msg between", value1, value2, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetMsgNotBetween(String value1, String value2) {
            addCriterion("ret_msg not between", value1, value2, "retMsg");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfIsNull() {
            addCriterion("ret_code_conf is null");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfIsNotNull() {
            addCriterion("ret_code_conf is not null");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfEqualTo(String value) {
            addCriterion("ret_code_conf =", value, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfNotEqualTo(String value) {
            addCriterion("ret_code_conf <>", value, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfGreaterThan(String value) {
            addCriterion("ret_code_conf >", value, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfGreaterThanOrEqualTo(String value) {
            addCriterion("ret_code_conf >=", value, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfLessThan(String value) {
            addCriterion("ret_code_conf <", value, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfLessThanOrEqualTo(String value) {
            addCriterion("ret_code_conf <=", value, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfLike(String value) {
            addCriterion("ret_code_conf like", value, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfNotLike(String value) {
            addCriterion("ret_code_conf not like", value, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfIn(List<String> values) {
            addCriterion("ret_code_conf in", values, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfNotIn(List<String> values) {
            addCriterion("ret_code_conf not in", values, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfBetween(String value1, String value2) {
            addCriterion("ret_code_conf between", value1, value2, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetCodeConfNotBetween(String value1, String value2) {
            addCriterion("ret_code_conf not between", value1, value2, "retCodeConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfIsNull() {
            addCriterion("ret_msg_conf is null");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfIsNotNull() {
            addCriterion("ret_msg_conf is not null");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfEqualTo(String value) {
            addCriterion("ret_msg_conf =", value, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfNotEqualTo(String value) {
            addCriterion("ret_msg_conf <>", value, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfGreaterThan(String value) {
            addCriterion("ret_msg_conf >", value, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfGreaterThanOrEqualTo(String value) {
            addCriterion("ret_msg_conf >=", value, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfLessThan(String value) {
            addCriterion("ret_msg_conf <", value, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfLessThanOrEqualTo(String value) {
            addCriterion("ret_msg_conf <=", value, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfLike(String value) {
            addCriterion("ret_msg_conf like", value, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfNotLike(String value) {
            addCriterion("ret_msg_conf not like", value, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfIn(List<String> values) {
            addCriterion("ret_msg_conf in", values, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfNotIn(List<String> values) {
            addCriterion("ret_msg_conf not in", values, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfBetween(String value1, String value2) {
            addCriterion("ret_msg_conf between", value1, value2, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andRetMsgConfNotBetween(String value1, String value2) {
            addCriterion("ret_msg_conf not between", value1, value2, "retMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgIsNull() {
            addCriterion("callback_msg is null");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgIsNotNull() {
            addCriterion("callback_msg is not null");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgEqualTo(String value) {
            addCriterion("callback_msg =", value, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgNotEqualTo(String value) {
            addCriterion("callback_msg <>", value, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgGreaterThan(String value) {
            addCriterion("callback_msg >", value, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgGreaterThanOrEqualTo(String value) {
            addCriterion("callback_msg >=", value, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgLessThan(String value) {
            addCriterion("callback_msg <", value, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgLessThanOrEqualTo(String value) {
            addCriterion("callback_msg <=", value, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgLike(String value) {
            addCriterion("callback_msg like", value, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgNotLike(String value) {
            addCriterion("callback_msg not like", value, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgIn(List<String> values) {
            addCriterion("callback_msg in", values, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgNotIn(List<String> values) {
            addCriterion("callback_msg not in", values, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgBetween(String value1, String value2) {
            addCriterion("callback_msg between", value1, value2, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgNotBetween(String value1, String value2) {
            addCriterion("callback_msg not between", value1, value2, "callbackMsg");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfIsNull() {
            addCriterion("callback_msg_conf is null");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfIsNotNull() {
            addCriterion("callback_msg_conf is not null");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfEqualTo(String value) {
            addCriterion("callback_msg_conf =", value, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfNotEqualTo(String value) {
            addCriterion("callback_msg_conf <>", value, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfGreaterThan(String value) {
            addCriterion("callback_msg_conf >", value, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfGreaterThanOrEqualTo(String value) {
            addCriterion("callback_msg_conf >=", value, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfLessThan(String value) {
            addCriterion("callback_msg_conf <", value, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfLessThanOrEqualTo(String value) {
            addCriterion("callback_msg_conf <=", value, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfLike(String value) {
            addCriterion("callback_msg_conf like", value, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfNotLike(String value) {
            addCriterion("callback_msg_conf not like", value, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfIn(List<String> values) {
            addCriterion("callback_msg_conf in", values, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfNotIn(List<String> values) {
            addCriterion("callback_msg_conf not in", values, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfBetween(String value1, String value2) {
            addCriterion("callback_msg_conf between", value1, value2, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andCallbackMsgConfNotBetween(String value1, String value2) {
            addCriterion("callback_msg_conf not between", value1, value2, "callbackMsgConf");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andBankCardIsNull() {
            addCriterion("bank_card is null");
            return (Criteria) this;
        }

        public Criteria andBankCardIsNotNull() {
            addCriterion("bank_card is not null");
            return (Criteria) this;
        }

        public Criteria andBankCardEqualTo(String value) {
            addCriterion("bank_card =", value, "bankCard");
            return (Criteria) this;
        }

        public Criteria andBankCardNotEqualTo(String value) {
            addCriterion("bank_card <>", value, "bankCard");
            return (Criteria) this;
        }

        public Criteria andBankCardGreaterThan(String value) {
            addCriterion("bank_card >", value, "bankCard");
            return (Criteria) this;
        }

        public Criteria andBankCardGreaterThanOrEqualTo(String value) {
            addCriterion("bank_card >=", value, "bankCard");
            return (Criteria) this;
        }

        public Criteria andBankCardLessThan(String value) {
            addCriterion("bank_card <", value, "bankCard");
            return (Criteria) this;
        }

        public Criteria andBankCardLessThanOrEqualTo(String value) {
            addCriterion("bank_card <=", value, "bankCard");
            return (Criteria) this;
        }

        public Criteria andBankCardLike(String value) {
            addCriterion("bank_card like", value, "bankCard");
            return (Criteria) this;
        }

        public Criteria andBankCardNotLike(String value) {
            addCriterion("bank_card not like", value, "bankCard");
            return (Criteria) this;
        }

        public Criteria andBankCardIn(List<String> values) {
            addCriterion("bank_card in", values, "bankCard");
            return (Criteria) this;
        }

        public Criteria andBankCardNotIn(List<String> values) {
            addCriterion("bank_card not in", values, "bankCard");
            return (Criteria) this;
        }

        public Criteria andBankCardBetween(String value1, String value2) {
            addCriterion("bank_card between", value1, value2, "bankCard");
            return (Criteria) this;
        }

        public Criteria andBankCardNotBetween(String value1, String value2) {
            addCriterion("bank_card not between", value1, value2, "bankCard");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}